import { EventEmitter } from 'events'
export class Item extends EventEmitter {
  readonly dynamicLinkGUID: string
  readonly id: string
  readonly name: string
  selected: boolean
  constructor(item: any) {
    super()
    this.name = item.name
    this.dynamicLinkGUID = item.dynamicLinkGUID
    this.id = item.id
    this.selected = item.selected
  }
}
